<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<a href="{:U('Index/index')}">返回首页</a>

<hr />

<form action="{:U('Cate/doAdd')}" class="form_style" name="add_cate_form" method="post">

<div class="form_item">
	<label>分类名称</label>
	<div class="form_item_main">
		<input type="text" name="cname" />
	</div>
</div>
<div class="form_item">
	<label>排序</label>
	<div class="form_item_main">
		<input type="text" name="order" />
	</div>
</div>
<div class="form_item">
	<label>样式</label>
	<div class="form_item_main">
		<input type="text" name="cstyle" />
	</div>
</div>





<div class="form_item">
	<label>上级目录</label>
	<div class="form_item_main">
		<select name="pid">
			<option value="0">无</option>
            <volist name="cateList" id="cate">
           	 	<option value="{$cate.id}">{$cate.cname}</option>
            </volist>
		</select>
	</div>	
</div>
<div class="form_item">
	<div class="form_item_main">
		<input type="submit" value="保存" />
	</div>
</div>

</form>

</body>
</html>